<%@ page language="java" session="true"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%@ page import="java.io.File"%>
<%
        String serverName = request.getServerName();
        String imagePath = "images/" + serverName;
        //scheme is always coming "http" at neustar
		String appBase = "https://" + serverName;
		if(request.getServerPort()!=443 && request.getServerPort()!=80)
		{
			appBase+=":"+request.getServerPort();
		}
		File file = new File(application.getRealPath(imagePath) + "/ibroker-logo.gif");
				
		if(!file.exists())
		{imagePath = "images/default";}

        response.setHeader("Expires", "-1");
        response.setHeader("Cache-Control", "no-store");
        response.setHeader("Pragma", "no-cache");
        
        Date dt = new Date();
%>
